package com.jiazhong.schedule.dao.impl;

import com.jiazhong.schedule.dao.BaseDao;
import com.jiazhong.schedule.dao.SysScheduleDao;
import com.jiazhong.schedule.pojo.SysSchedule;

import java.util.List;

public class SysScheduleImpl extends BaseDao implements SysScheduleDao {
    @Override
    public List<SysSchedule> query() {
        //编写的是连接sql语句查询所有的东西的
        String sql = "SELECT sid,uid,title,completed FROM sys_schedule";
        return baseQuery(SysSchedule.class, sql);
    }
}
